shortcutscontroller: Cosmetic docs changes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 22 May 2021 18:43:21 +0000 (14:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 22 May 2021 21:25:26 +0000 (17:25 -0400)
gtk/gtkshortcutcontroller.c

index a2a71c4f717532e4d9a63c69f2501bfb91f0239c..75d4829fe02d200915ba490092fd4a33dd843108 100644 (file)
@@ -25,8 +25,8 @@
  *
  * Most common shortcuts are using this controller implicitly, e.g. by
  * adding a mnemonic underline to a `GtkLabel`, or by installing a key
- * binding using gtk_widget_class_add_binding(), or by adding accelerators
- * to global actions using gtk_application_set_accels_for_action().
+ * binding using [method@Gtk.WidgetClass.add_binding], or by adding accelerators
+ * to global actions using [method@Gtk.Application.set_accels_for_action].
  *
  * But it is possible to create your own shortcut controller, and add
  * shortcuts to it.
@@ -47,7 +47,7 @@
  *         <property name='scope'>managed</property>
  *         <child>
  *           <object class='GtkShortcut'>
- *             <property name='trigger'>&amp;lt;Control&amp;gt;k</property>
+ *             <property name='trigger'>&lt;Control&gt;k</property>
  *             <property name='action'>activate</property>
  *           </object>
  *         </child>
@@ -842,8 +842,9 @@ gtk_shortcut_controller_set_scope (GtkShortcutController *self,
  * gtk_shortcut_controller_get_scope: (attributes org.gtk.Method.get_property=scope)
  * @self: a `GtkShortcutController`
  *
- * Gets the scope for when this controller activates its shortcuts. See
- * gtk_shortcut_controller_set_scope() for details.
+ * Gets the scope for when this controller activates its shortcuts.
+ *
+ * See [method@Gtk.ShortcutController.set_scope] for details.
  *
  * Returns: the controller's scope
  */
@@ -860,7 +861,7 @@ gtk_shortcut_controller_get_scope (GtkShortcutController *self)
  * @self: a `GtkShortcutController`
  * @modifiers: the new mnemonics_modifiers to use
  *
- * Sets the controller to have the given @mnemonics_modifiers.
+ * Sets the controller to use the given modifier for mnemonics.
  *
  * The mnemonics modifiers determines which modifiers need to be pressed to allow
  * activation of shortcuts with mnemonics triggers.